import { AxiosServer } from "../utils/index.js";

// 模拟登录接口
export const DemoLogin = async (obj) => AxiosServer.post("/fwc/addUser", obj);

// 模拟获取朋友信息接口
export const getFriendsList = async (id) =>
  AxiosServer.get(`/fwc/getFriendListById/${id}`);

// 获取用户信息接口
export const getUserInfo = async () => AxiosServer.get(`/fwc/get-user`);
